package com.xzw.cameratest.push;

import android.content.Context;

import com.android.business.exception.BusinessException;

/**
 * 文件描述：package com.android.business.push; 功能说明： 版权申明：
 * 
 * @author ding_qili
 * @version 2015-3-30上午10:04:20
 */

public interface PushInterface {

    enum PushType {
        eJPush,
        eDSSPush,
    }
    /**
     * 初始化
     * 
     * @param mContext
     * @return
     * @throws BusinessException
     */
    public boolean init(Context mContext) throws BusinessException;

    /**
     * 获取唯一识别码
     * 
     * @param mContext
     * @return
     * @throws BusinessException
     */
    public String getUUID(Context mContext) throws BusinessException;

    /**
     * 获取注册ID
     * 
     * @param mContext
     * @return
     * @throws BusinessException
     */
    public String getRegistrationID(Context mContext) throws BusinessException;

    /**
     * 
     * 描述：获取jpushTag add by 27795
     * 
     * @param mContext
     * @return
     * @throws BusinessException
     * @return_type：String
     */
    public String getJpushTag(Context mContext) throws BusinessException;

    public String getPushType();

    void setPushWatcher(PushCallbackInterface watcher);

    /**
     * 添加消息到消息队列
     * @param msg
     */
    void addMsg(String msg);
}
